﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kooboo.IoC;

namespace Kooboo.Commerce.Services
{
    public static class ServiceFactory
    {
        public static TService GetService<TService>() where TService : IService
        {
            return ContextContainer.Current.Resolve<TService>();
        }
    }
}
